<template>
    <van-nav-bar left-text="返回" left-arrow @click-left="goback">
        <template #right>
            <van-icon name="search" size="18" />
        </template>
        <template #title>
            发布消息
        </template>
    </van-nav-bar>
</template>

<script setup>
import {useRouter} from 'vue-router'
const router = new useRouter
function goback(){
    router.go(-1)
}
</script>

<style scoped>

</style>